package cn.exrick.xboot.message

import cn.exrick.xboot.core.common.vo.Result
import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse
import javax.servlet.http.HttpServletRequest

interface ISendMessageService {

    /**
     * 发送短信
     */
    fun sendSms(mobile: String, template: String, request: HttpServletRequest) : Result<Any?>?

    /**
     * 方法
     */
    fun sendSmsCode(mobile: String, param: String, value: String, templateCode: String) : SendSmsResponse
}